
from django.contrib import admin
from django.urls import path, include


# urlpatterns = [
#     path('admin/', admin.site.urls),
#     path('', home.index, name='home'),
#     path('login/', account.user_login, name='user_login'),
#     path('logout/', account.user_logout, name='logout'),
#     path('projects/list/', project.project_list, name='project_list'),
#     path('projects/star/', project.project_list, name='project_list'),
#     path('projects/<int:pk>/', views.project_detail, name='project_detail'),
#     path('projects/add/', views.add_project, name='add_project'),
#     path('add_user/', views.add_user, name='add_user'),  # 管理员添加用户
#     path('dashboard/', dashboard.dashboard,name='dashboard'),
#     path('project/star/(?P<project_type>\w+)/(?P<project_id>\d+)/', project.project_star, name='project_star'),
# 	path('project/unstar/(?P<project_type>\w+)/(?P<project_id>\d+)/$', project.project_unstar, name='project_unstar'),
# ]


urlpatterns = [
    path(r'admin/', admin.site.urls),
    path(r'', include('app01.urls')),
]
